const base={
    setTitle(obj){
        /*obj.props.history.listen((location)=>{
            console.log(location.pathname)
            switch(location.pathname){
                case '/':
                
                break;
                case '/user':
                document.title='用户';
                break;
                case '/detail':
                document.title='详情';
                break;
                default:

            }
        })*/
    }
}
export default base;